//
//  ConnexionViewController.m
//  TVCloud
//
//  Created by Clément Raussin on 28/05/12.
//  Copyright (c) 2012 Adriaenssen BVBA. All rights reserved.
//

#import "ConnexionViewController.h"
#import <QuartzCore/QuartzCore.h>

@interface ConnexionViewController ()

@end

@implementation ConnexionViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}


-(IBAction)ok:(id)sender{
    
    NSLog(@"End Loading");
    
    [UIView animateWithDuration:0.5
                     animations:^{self.view.alpha = 0.0;}
                     completion:^(BOOL finished){ [self.view removeFromSuperview];}];
    
}

@end
